import utime
from wifi_getinfo import *

import micropython


 
wifi_connect_x = [24, 26, 28]

#  有的板子连接wifi后会导致led乱闪，可尝试把wifi功能运行在另一个核上
micropython.mem_info()
while not wifi_connect():
     print("WIFI nto connect")
micropython.mem_info()
# 清除连接中的三个点，然后显示√表示连接成功
print("WIFI connected-----------")
#self.screen.draw_img(23, 0, wifi22x8[1], self.bright)
#self.screen.show()
time.sleep(1)
get_info()